package com.epam.web_project.bank.dao.factory;

import com.epam.web_project.bank.dao.account_dao.AccountDAO;
import com.epam.web_project.bank.dao.customer_dao.CustomerDAO;
import com.epam.web_project.bank.dao.transaction_dao.TransactionDAO;
import com.epam.web_project.bank.db.ConnectionPool;

public abstract class DAOFactory {

	public abstract void setConnectionPool(ConnectionPool pool);
	
	public abstract CustomerDAO getCustomerDAO();
	public abstract AccountDAO getAccountDAO();
	public abstract TransactionDAO getTransactionDAO(); 
	public static DAOFactory getDAOFactory() {
		return new MySQLDAOFactory();
	}
	
	

}
